//调用接口配置文件
import { request } from 'config/request'
// 定义接口

// export async function queryAllAddress(params) {
//     return request({
//         url: 'admin/address/queryAllAddress',
//         method: 'GET',
//         data: params,
//     });
// };


export async function playerExportXls(params) {
    return request({
        url: 'mideadc-game-center-service/activity/gameActivityUser/exportXls',
        method: 'POST',
        data: params,
        responseType: 'blob',
        headers:{
            'content-Type': 'application/json'
        },
    });
};

// 获取省市区
export async function queryAllAddress(params) {
    return request({
        url: 'admin/address/queryAllAddress',
        method: 'GET',
        data: params,
    });
};